﻿using DomainCommons.Models;
using EntityModels.E02.Identities;

namespace EntityModels.E07.Chats
{
    public class Message:BaseEntity<int>
    {
        /// <summary>
        /// 所属会话
        /// </summary>
        public Conversation Conversation { get; set; }
        /// <summary>
        /// 发送者
        /// </summary>
        public AppUser Sender { get; set; }
        /// <summary>
        /// 消息内容
        /// </summary>
        public string Content { get; set; }
        public int ConversationId { get; set; }
        public Guid SenderId { get; set; }
    }
}
